<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/commons/include/html_doctype.html" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@include file="/commons/page/codegen.jsp" %>
		<script type="text/javascript" src="${ctx}/js/plugins/layui/layui.js"></script>
        <style type="text/css" src="${ctx}/js/plugins/layui/css/layui.css"></style>
		<script type="text/javascript" src="${ctx}/js/gpoint/rdp/area/zone.js"></script>
	</head>
	<body>
		<!-- 顶部按钮 -->
		<div class="wrapper wrapper-content  animated fadeInRight col-sm-12">
			<div class="panel-toolbar ">
				<div class="buttons">
					<a href="javascript:void(0);" class="btn btn-primary fa fa-save" ><span>保存</span></a>
				</div>
			</div>
			<div class="">
				<form  class="fr-form"  id="zoneForm" action="save.htm" >
					<input type="hidden" name="m:zone:id"  value="${zone.id}"/>
					<input type="hidden" name="m:zone:servicecode"  value="${zone.servicecode}"/>
					
					<!--
					<div class="fr_response_field col-sm-3" >
					 	<div class="fr-form-group"> 
						 	<label class="fr-control-label">父节点</label>
						  	<div class="fr-form-block" data-type="fixed">
						          <input type="text" class="fr-form-control" name="m:zone:pid" value="${zone.pid}" validate="{required:false}"/>
						  					
						 	</div>
					  	</div>
					</div>
					 -->
				<div class="fr_response_field col-sm-6">
					<div class="fr-form-group">
						<label class="fr-control-label">父节点</label>
						<div class="fr-form-block" data-type="fixed">
						    <input name="m:zone:pid" type="hidden"   id="hid_pid" value="${zone.pid}"/>						
						    <input type="text" data-key="#hid_pid" readonly="readonly" class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/tree_for_edit.htm?" value="${zone.parentFullName}"  validate="{required:true}"/>
						</div>
					</div>
				</div>
				<div class="fr_response_field col-sm-6" >
				 	<div class="fr-form-group"> 
					 	<label class="fr-control-label">区域名称</label>
					  	<div class="fr-form-block" data-type="fixed">
					           <input type="text" class="fr-form-control" name="m:zone:name" value="${zone.name}" validate="{required:false}"/>					  					
					 	</div>
				  	</div>
				</div>
					
		     </form>

			</div>
		</div>
	</body>
</html>